<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>detail</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
function init(){
	var name = new Array("veri_name","nation","blood_type","religious_belief","parents_info",
			"cousins_info","personality","appearance","face_size","body_size",
			"hairstyle","hair_color");
	var value = new Array("{$detail['veri_name']}","{$detail['nation']}","{$detail['blood_type']}",
			"{$detail['religious_belief']}","{$detail['parents_info']}",
			"{$detail['cousins_info']}","{$detail['personality']}","{$detail['appearance']}",
			"{$detail['face_size']}","{$detail['body_size']}","{$detail['hairstyle']}",
			"{$detail['hair_color']}");
	for(var i = 0 ; i <name.length ; i++) {
		select_init(name[i],value[i]);
	}
	checkbox_init("language[]","{$detail['language']}");
	checkbox_init("charm[]","{$detail['charm']}");
	initprovince("home_province","home_city","{$detail['hometown_province']}","{$detail['hometown_city']}");
}
</script>
</head>
<body onload="init()">
<form action="__URL__/detailmodify" method="post" onsubmit="return idvalidate();">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="17%" id="member_info_base_td">真实姓名：</td>
		<td width="33%"><input name="real_name" type="text" id="real_name"
			value="{$detail['real_name']}"></td>
		<td width="17%" id="member_info_base_td">身份证号：</td>
		<td><input name="id_number" type="text" id="id_number"
			value="{$detail['id_number']}"></td>
	</tr>
	<tr>
		<td id="member_info_base_td">实名认证：</td>
		<td><select name='veri_name' id='veri_name'>
			<option value='0'>未认证</option>
			<option value='1'>已认证</option>
			<option value='2'>认证中</option>
			</select></td>
		<td id="member_info_base_td">QQ号：</td>
		<td><input name="qq" type="text" id="qq"
			value="{$detail['qq']}"></td>	
	</tr>
	<tr>
		<td id="member_info_base_td">民族：</td>
		<td><select name='nation' id='nation'>
			<option value=''>请选择</option>
			<volist name="nationlist" id="na">
			<option value='{$na.opt_value}'>{$na.opt_name}</option>
			</volist>
			</select></td>
		<td id="member_info_base_td">血型：</td>
		<td><select name='blood_type' id='blood_type'>
			<option value=''>请选择</option>
			<option value='A型'>A型</option>
			<option value='B型'>B型</option>
			<option value='O型'>O型</option>
			<option value='AB型'>AB型</option>
			<option value='其他'>其他</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">籍贯：</td>
		<td><select onchange="setcity('home_province','home_city','{$detail['hometown_city']}');" name="home_province" id="home_province">
			<option value=''>--请选择--</option>
			<volist name="provincelist" id="province">
			<option value='{$province.opt_value}'>{$province.opt_name}</option>
			</volist>
		</select> <select name="home_city" id="home_city">
			<option value=''>请选择</option>
		</select></td>
		<td id="member_info_base_td">宗教信仰：</td>
		<td><select name='religious_belief' id='religious_belief'>
			<option value=''>请选择</option>
			<option value='不信教'>不信教</option>
			<option value='佛教'>佛教</option>
			<option value='道教'>道教</option>
			<option value='伊斯兰教'>伊斯兰教</option>
			<option value='天主教'>天主教</option>
			<option value='基督教'>基督教</option>
			<option value='儒家门徒'>儒家门徒</option>
			<option value='不可知论者'>不可知论者</option>
			<option value='其他'>其他</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">父母情况：</td>
		<td><select name='parents_info' id='parents_info'>
			<option value=''>请选择</option>
			<option value='父母均健在'>父母均健在</option>
			<option value='只有母亲健在'>只有母亲健在</option>
			<option value='只有父亲健在'>只有父亲健在</option>
			<option value='父母均已离世'>父母均已离世</option>
			</select></td>
		<td id="member_info_base_td">兄弟情况：</td>
		<td><select name='cousins_info' id='cousins_info'>
			<option value=''>请选择</option>
			<option value='独生子女'>独生子女</option>
			<option value='2'>2</option>
			<option value='3'>3</option>
			<option value='4'>4</option>
			<option value='5'>5</option>
			<option value='5个以上'>5个以上</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">家庭情况描述：</td>
		<td><textarea name="family_info" cols="30" rows="5" id="family_info">{$detail['family_info']}</textarea></td>
		<td id="member_info_base_td">语言能力：</td>
		<td><volist name="languagelist" id="lang">
			<input name='language[]' type='checkbox' value='{$lang.opt_value}' />{$lang.opt_name}
			</volist>
		</td>
	</tr>
	<tr>
		<td id="member_info_base_td">个性：</td>
		<td><select name='personality' id='personality'>
			<option value=''>请选择</option>
			<option value='浪漫迷人'>浪漫迷人</option>
			<option value='成熟稳重'>成熟稳重</option>
			<option value='风趣幽默'>风趣幽默</option>
			<option value='乐天达观'>乐天达观</option>
			<option value='活泼可爱'>活泼可爱</option>
			<option value='忠厚老实'>忠厚老实</option>
			<option value='淳朴害羞'>淳朴害羞</option>
			<option value='温柔体贴'>温柔体贴</option>
			<option value='多愁善感'>多愁善感</option>
			<option value='新潮时尚'>新潮时尚</option>
			<option value='热辣动感'>热辣动感</option>
			<option value='豪放不羁'>豪放不羁</option>
		</select></td>
		<td id="member_info_base_td">外貌自评：</td>
		<td><select name='appearance' id='appearance'>
			<option value=''>请选择</option>
			<volist name="appearancelist" id="app">
			<option value='{$app.opt_value}'>{$app.opt_name}</option>
			</volist>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">脸型：</td>
		<td><select name='face_size' id='face_size'>
			<option value=''>请选择</option>
			<option value='圆脸型'>圆脸型</option>
			<option value='方脸型'>方脸型</option>
			<option value='长脸型'>长脸型</option>
			<option value='瓜子脸型'>瓜子脸型</option>
			<option value='鸭蛋脸型'>鸭蛋脸型</option>
			<option value='国字脸型'>国字脸型</option>
			<option value='三角脸型'>三角脸型</option>
			<option value='菱形脸型'>菱形脸型</option>
		</select></td>
		<td id="member_info_base_td">体型：</td>
		<td><select name='body_size' id='body_size'>
			<option value=''>请选择</option>
			<option value='瘦'>瘦</option>
			<option value='较瘦'>较瘦</option>
			<option value='匀称'>匀称</option>
			<option value='苗条'>苗条</option>
			<option value='高挑'>高挑</option>
			<option value='丰满'>丰满</option>
			<option value='性感'>性感</option>
			<option value='健壮'>健壮</option>
			<option value='魁梧'>魁梧</option>
			<option value='略胖'>略胖</option>
			<option value='较胖'>较胖</option>
			<option value='胖'>胖</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">发型：</td>
		<td><select name='hairstyle' id='hairstyle'>
			<option value=''>请选择</option>
			<option value='顺直长发'>顺直长发</option>
			<option value='卷曲长发'>卷曲长发</option>
			<option value='中等长度'>中等长度</option>
			<option value='短发'>短发</option>
			<option value='很短'>很短</option>
			<option value='光头'>光头</option>
			<option value='其它'>其它</option>
		</select></td>
		<td id="member_info_base_td">发色：</td>
		<td><select name='hair_color' id='hair_color'>
			<option value=''>请选择</option>
			<option value='黑色'>黑色</option>
			<option value='金色'>金色</option>
			<option value='褐色'>褐色</option>
			<option value='栗色'>栗色</option>
			<option value='灰色'>灰色</option>
			<option value='红色'>红色</option>
			<option value='白色'>白色</option>
			<option value='挑染'>挑染</option>
			<option value='光头'>光头</option>
			<option value='其它'>其它</option>
		</select></td>
	</tr>
	<tr>	
		<td id="member_info_base_td">魅力部分：</td>
		<td><volist name="charmlist" id="charm">
			<input name='charm[]' type='checkbox' value='{$charm.opt_value}' />{$charm.opt_name}
			</volist>
		</td>
	</tr>
</table>
<div id="member_info_submit">
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>	
</div>
</form>
</body>
</html>